-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add ones primitive #227
base: main
Are you sure you want to change the base?
feat: Add ones primitive #227
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
@@ Coverage Diff @@
## main #227 +/- ##
==========================================
+ Coverage 88.72% 88.73% +0.01%
==========================================
Files 75 75
Lines 17374 17395 +21
==========================================
+ Hits 15415 15436 +21
Misses 1959 1959
🚀 New features to boost your workflow:
|
super().__init__( | ||
formula_key="ones", | ||
name=name, | ||
output=BaseKey(shape=[("Var", ...)], type=Tensor), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to indicate shape if it is Variadic
ignore_transform={"shape"}, | ||
) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can add randomized tests for this model
Description
Closes #226
What is Changed
Checklist: